# EdTech AI Solution: Automated Essay Grading & Socratic Tutoring — API Store Hub

> VI: Chấm điểm bài viết theo Rubric chuẩn (IELTS, Toán, Lập trình, Văn), phản hồi chi tiết từng câu và cung cấp gia sư AI 1-1 cho hàng chục nghìn học viên.
> EN: Deliver rubric-aligned essay grading (IELTS, STEM, coding), line-by-line feedback, and scalable 1-on-1 Socratic tutoring on API Store Hub.

- Industry: Education & EdTech AI Tutoring
- Canonical VI: https://apistorehub.com/vi/giai-phap/giao-duc-edtech-cham-bai-ai
- Canonical EN: https://apistorehub.com/en/giai-phap/giao-duc-edtech-cham-bai-ai

## Reference Architecture
Student submissions (text or handwritten photos) are graded against structured rubrics with criterion scores and inline edits, while Socratic tutors guide learners step by step with cached curriculum context.

## Recommended Model Stack (Live ST Pricing)
| Role | Model | Live ST Rate | Why |
|---|---|---|---|
| IELTS & Essay Rubric Grading | `claude-sonnet-5-5` | 7,700 ST / 1M tokens | Consistent rubric scoring and empathetic, specific writing feedback. |
| STEM Reasoning & Handwritten Homework Vision | `gemini-4-neon` | 20,400 ST / 1M tokens | Strong handwritten math OCR and structured step-by-step reasoning. |
| Fast Q&A & Practice Drills | `claude-haiku-5-5` | 400 ST / 1M tokens | Low latency and economical ST rates for high-frequency student sessions. |

## Deployment Steps
1. Encode grading rubrics as strict JSON Schemas with anchor examples per score band.
2. Pin shared rubrics and lesson prompts at the top for high prompt-cache hit rates.
3. Separate Socratic tutor prompts (guiding hints only) from formal grading endpoints.
4. Apply per-student daily caps and track ST unit economics per course.

## Quickstart cURL
```bash
curl https://apistorehub.com/v1/chat/completions \
  -H "Authorization: Bearer sk-ash-your_key" \
  -H "Content-Type: application/json" \
  -d '{"model":"claude-sonnet-5-5","response_format":{"type":"json_object"},"messages":[{"role":"system","content":"Grade IELTS Writing Task 2. Return JSON with task_response, coherence, lexical, grammar, overall, corrections."},{"role":"user","content":"Topic: Remote work benefits. Essay: Remote work saves commute time..."}]}'
```

## FAQ
- **How do I keep automated essay grading scores consistent?**: Use low `temperature` (0–0.1) and include band anchor examples inside the rubric prompt.
- **Can Vision models inspect handwritten math solutions?**: Yes. `gemini-4-neon` and `claude-sonnet-5-5` read handwritten work and pinpoint the exact line where a mistake occurs.
- **How can EdTech apps keep per-student AI costs predictable?**: Cache shared lesson prompts, route drill exercises to Haiku/Flash models, and apply per-student daily turn limits.
