|
Download docs/api_comparison_table.md from luom2645/agent-workspace: direct link, hf CLI and curl.
- Browser
- Download file 1.2 kB
-
https://huggingface.co/luom2645/agent-workspace/resolve/7d4c5ffdb4518a5d7456ef06ab77458fcf42663a/docs/api_comparison_table.md
- Command line
-
hf download hf://luom2645/agent-workspace@7d4c5ffdb4518a5d7456ef06ab77458fcf42663a/docs/api_comparison_table.md
-
curl -L -o api_comparison_table.md https://huggingface.co/luom2645/agent-workspace/resolve/7d4c5ffdb4518a5d7456ef06ab77458fcf42663a/docs/api_comparison_table.md
1.2 kB
| Provider | Model | Input Price ($/M tokens) | Output Price ($/M tokens) | Context Window (tokens) | Rate Limits (RPM/TPM) | Notes |
|---|---|---|---|---|---|---|
| OpenAI | GPT-4o | 2.50 | 10.00 | 128K | Tier-based | Flagship multimodal model. |
| OpenAI | GPT-4 | 30.00 | 60.00 | 8K | Tier-based | Older, but still powerful. |
| Anthropic | Claude 3.5 Sonnet | 3.00 | 15.00 | 200K | 50 / 40K (Default) | Strong reasoning, excels at long context. |
| Gemini 1.5 Pro | 1.25 | 5.00 | 2M (Potential) | 1000 / 4M | Massive context window. Price doubles for >128K input. | |
| Baidu | ERNIE 4.0 | ~0.33 (¥2.40) | ~1.32 (¥9.60) | 8K / 128K | Varies | Strong Chinese capabilities. Price estimated from Qwen. |
| Alibaba | Qwen-Max | ~0.33 (¥2.40) | ~1.32 (¥9.60) | 32K | Varies | Price in RMB. |
| Zhipu | GLM-4 | ~13.70 (¥100.00) | ~13.70 (¥100.00) | 128K | Tier-based | Price in RMB. Input/Output same price. |
| Meta (via Together.ai) | Llama 3.1 70B | 0.88 | 0.88 | 128K | Provider-dependent | Leading open source model. Very cost-effective. |
| Mistral AI (via API) | Mistral Large 2 | ~2.50 | ~7.50 | 128K | Varies | High-performance model. Price is an estimate. |