Context7
ส่งคู่มือการใช้ไลบรารีและเฟรมเวิร์กรุ่นล่าสุดให้ AI อ่านก่อนตอบ ช่วยให้โค้ดที่ AI เขียนไม่ใช้คำสั่งเก่าที่เลิกใช้แล้ว
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
LLM API prices across 70+ providers: cheapest offer, comparisons, history and cost estimates.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
ใช้ได้ทั้ง Claude บนเว็บ แอปคอมพิวเตอร์ และมือถือ:
https://mcp.inferindex.dev/mcpพิมพ์คำสั่งนี้ใน Terminal
claude mcp add --transport http inferindex https://mcp.inferindex.dev/mcpวางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"inferindex": {
"url": "https://mcp.inferindex.dev/mcp"
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"inferindex": {
"type": "http",
"url": "https://mcp.inferindex.dev/mcp"
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ChatGPT ต่อได้เฉพาะ server ที่อยู่บนอินเทอร์เน็ต:
https://mcp.inferindex.dev/mcpชื่อเมนูอาจต่างกันเล็กน้อยตามแพ็กเกจและรุ่นของแอป
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
ยังไม่ได้อ่านรายการเครื่องมือของตัวนี้ เราตรวจ endpoint ทีละชุดวนไป
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 6 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub InferIndex ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้ตรวจ เราตรวจ endpoint ทีละชุดวนไป
ยังไม่ได้ตรวจ เราตรวจ endpoint ทีละชุดวนไป
ยังไม่ได้ตรวจ เราอ่านรายการเครื่องมือตอนตรวจ endpoint
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก
รันบนคลาวด์ของผู้ทำ ต่อผ่านอินเทอร์เน็ตได้เลย ไม่ต้องลงโปรแกรม แต่ข้อมูลที่ส่งให้จะผ่านเซิร์ฟเวอร์ของผู้ทำ
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (1.0.0) เข้า registry 2 เดือนที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต่อผ่าน URL จึงใช้กับโปรแกรมที่รับ remote MCP ได้ เช่น ChatGPT ที่เปิดโหมดนักพัฒนา
ในหมวดเดียวกันมี Context7, Codebase Memory, Exa
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
ส่งคู่มือการใช้ไลบรารีและเฟรมเวิร์กรุ่นล่าสุดให้ AI อ่านก่อนตอบ ช่วยให้โค้ดที่ AI เขียนไม่ใช้คำสั่งเก่าที่เลิกใช้แล้ว
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Connect AI agents to Exa for web search, content fetching, and multi-step research.
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
InferIndex finds the cheapest provider for a given LLM, across more than 60 tracked pricing sources — direct provider APIs and aggregators/routers — with price history and promotion detection.
Live API: https://api.inferindex.dev
Service status: https://status.inferindex.dev (external uptime monitoring)
This repository holds the public documentation, examples and (eventually) a client SDK for that API. The backend itself — collection, parsers, data model — lives in a separate private repository.
curl "https://api.inferindex.dev/cheapest?model=deepseek/deepseek-v3.2"
_Example response as of 2026-10-07 — prices, providers and statuses change._
{
"query": "deepseek/deepseek-v3.2", "model": { "id": "deepseek/deepseek-v3.2", "name": "DeepSeek: DeepSeek V3.2" }, "other_matches": [], "sort": "blended", "cheapest": { "provider": "GMICloud", "via": "openrouter", "via_name": "OpenRouter", "offer_url": "https://openrouter.ai/models", "offer_url_kind": "pricing", "tier": "standard", "input_per_1M": 0.2088, "output_per_1M": 0.3096, "cache_read_per_1M": 0.0216, "blended_per_1M": 0.234, "currency": "USD", "quantization": "fp8", "quantization_source": "declared", "context_length": 163840, "promo": true, "also_via": [ "kilo" ], "unverified": [] }, "offers": [ { "provider": "GMICloud", "via": "openrouter", "via_name": "OpenRouter", "blended_per_1M": 0.234, "…": "…" }, { "provider": "Nous Portal", "via": "nous", "via_name": "Nous Portal", "blended_per_1M": 0.234, "…": "…" } ], "hidden_tiers": { "flex": 1 }, "filters_unknown": {}, "strict": false }
Prices are in USD per million tokens, converted at the day's ECB rate when the source publishes another currency. blended_per_1M is (3 × input + output) / 4, a rough proxy for a typical chat workload. Each offer appears once, at its cheapest source: via is "direct" or the aggregator it comes from, and also_via lists other sources selling the same offer. promo is false unless a promotion was detected, in which case confidence and price_before_promo are filled in.
Early / actively developed. The API is public and free to use, without authentication, but there is no uptime guarantee, no versioned API contract yet, and endpoints or response shapes may change. If you build something on it, expect to adjust when they do. Feedback and issues are welcome.
Service status: https://status.inferindex.dev (external uptime monitoring). It shows current and past availability; it is not an uptime guarantee.
Provider pricing pages disagree, change without notice, and rarely show what resellers actually charge for the same model. InferIndex collects prices from more than 60 sources, each read from its own listing on its own schedule (from hourly to daily depending on the source), stores every change, and answers "who is cheapest for model X right now" from that history — client requests never trigger a live call to a provider.
Cache-Control: public, max-age=300 (5 minutes) (except /health/ready, never cached). On the custom domain, responses are additionally held in Cloudflare's edge cache for the same 5 minutes./cheapest, /history, /resellers, /self-host, /gpus and /gpu-rentals, counting only requests not answered from cache. An optional API key (x-api-key header) raises this to 300 requests per minute per key; free keys will be offered, self-service sign-up isn't available yet. An invalid key returns429. The MCP server has its own limits, see Use with AI assistants.prompt_tokens, output_tokens, cached_ratio and requests_per_day to /cheapest or /resellers to get an estimated cost per request and per month for each offer, and sort=estimated_cost to rank by it. See docs/api.md.flex, batch — lower priority, variable latency, in exchange for a lower price) are excluded from /cheapest and /resellers unless you ask for them with include_tiers=flex,batch. The number hidden is reported in hidden_tiers.Data corrections are listed in the changelog.
InferIndex is a comparison tool, not a source of truth. Treat every price as "what our collector last saw", not as a guarantee of what you will be billed:
| Route | What it does |
|---|---|
GET /cheapest?model=deepseek/deepseek-v3.2 | Cheapest offer across all active sources, and every matching offer deduplicated and sorted |
GET /resellers?model=deepseek/deepseek-v3.2 | Current prices across every reseller (direct and via aggregators), one line per source, paginated beyond 100 offers |
GET /history?model=deepseek/deepseek-v3.2&days=30&granularity=day | Price history, paginated by cursor |
GET /models?search=deepseek | Search tracked models |
GET /gpus | GPU types tracked for rental prices, with the lowest price of each tier — see GPU rental prices |
GET /gpu-rentals?gpu=h100-sxm-80gb | Rental offers for one GPU, one block per tier — see GPU rental prices |
GET /self-host?model=qwen/qwen3-32b&tokens_per_day=50000000 | Is it cheaper to rent GPUs and run an open-weights model yourself, or to use the cheapest API offer? An estimate, hardware rental only — see how the answer is built |
GET /trending | Up to 10 models currently getting attention, recomputed about every 6 hours |
GET /index?series=market | Weekly market index, published every Monday since 2026-10-05 — see the methodology |
GET /health/live | Liveness only: the service is up, no database access |
GET /health/ready | Readiness: data freshness and scheduler health, see below |
/mcp | MCP server for AI assistants, see Use with AI assistants |
/cheapest filterssort=blended\|input\|output — sort order (default blended)min_context=100000 — minimum context windowquantization=fp8,bf16 — accepted quantizationsmin_uptime=95 — minimum 30-minute uptime (%), as observed by an aggregator (not measured by InferIndex)tools=true, json=true, vision=true — only offers declared to support tool calling, JSON output, image inputregion=eu — only offers processed in that region (eu, us, cn, uk, ch, sg, id, my, vn, kr, jp, in, ca, au), per the providers' official documentsno_training=true — only offers whose providers state they don't train on promptsno_waitlist=true — only providers whose signup is open to everyonestrict=true — also drop offers for which the filtered data is unknown (by default they're kept and flagged in unverified, counted in filters_unknown)include_tiers=flex,batch — include degraded service tiers (excluded by default, see above)explain=true — list every excluded offer with its reason codes (an explanation summary is always included)Offers also carry conditions (data region, retention, training on prompts, and what it takes to open an account — each with its official source link), quantization_source (whether the compute precision is declared by the source or inferred), and, on /resellers, reliability from the providers' official status pages. See docs/api.md.
/historygranularity=raw returns one row per price change; day / week (weeks start Monday) return one point per period and per offer (provider, quantization, variant) with min, max and last price. Use days or from/to for a period, or at=2026-09-15 for the prices in force at a given moment. Prices are converted to USD at the ECB rate of the day of the price.
Model search (/models):
curl "https://api.inferindex.dev/models?search=deepseek"
_Example response as of 2026-09-15 — prices, providers and statuses change._
{
"count": 19, "models": [ { "id": "deepseek/deepseek-v3.2", "name": "DeepSeek: DeepSeek V3.2" }, { "id": "deepseek/deepseek-v4.1-flash", "name": "DeepSeek: DeepSeek V4.1 Flash" } ] }
/health/ready_Example response as of 2026-09-15 — prices, providers and statuses change._
{
"ready": true, "status": "ok", "failures": [], "degraded": [], "warnings": ["2 price source(s) in error", "1 announcement source(s) in error"], "prices": { "current_offers": 5664, "latest_check_at": "2026-09-15T05:01:05.639Z", "latest_check_age_minutes": 1.5 }, "watcher": { "active_sources": 84, "errors": 1, "persistent_errors": 0, "latest_check_at": "2026-09-15T05:02:08.890Z", "latest_check_age_minutes": 0.4 }, "schedulers": { "active": 62, "ok": 62, "starting": 0, "late": 0, "not_started": 0 }, "source_errors": { "count": 1, "persistent": 0 }, "version": { "id": "…", "tag": "", "deployed_at": "…" }, "checked_at": "2026-09-15T05:02:34.383Z" }
status is ok, degraded (a non-critical part is having trouble — see the degraded array for which) or unavailable (no usable price data). HTTP 200 for ok/degraded, 503 for unavailable. Useful as an uptime-monitor target if you depend on this API.
Full route and parameter reference: docs/api.md.
InferIndex is also available as a remote MCP server, so an AI assistant can look up prices for you:
https://mcp.inferindex.dev/mcp (Streamable HTTP) (https://api.inferindex.dev/mcp also works, as an alias)io.github.InferIndex/inferindex.x-api-key header./mcp, at most 10 JSON-RPC messages per batch and 64 KB per request (otherwise 400 or 413 with JSON-RPC error -32600). Over the rate limit: 429 with JSON-RPC error -32000. Each tool call also counts toward the limit of the API route it uses (/cheapest, /resellers, /history, /self-host, /gpus, /gpu-rentals).| Tool | What it does |
|---|---|
search_models(query) | Find the exact id of a model |
cheapest(model, …) | Cheapest offers, with the same filters as /cheapest (min_context, tools, json, vision, region, no_training, no_waitlist, strict, include_tiers), optional usage (prompt_tokens, output_tokens, cached_ratio, requests_per_day) and limit |
compare_providers(model, sort, limit, …) | Every offer, one line per provider, with usage conditions and reliability |
| `price_history(model, days \| from +
ตัดมาแค่ช่วงต้น อ่านต่อใน repo