星海词元星海词元
Ready to build?Get an API key — all models at 50% of the official price →
Home › Capabilities › Long-context models

Long-context models

long context LLM API, 1M token context, large document analysis

Long context lets you skip a retrieval pipeline, but it does not make long context free: input tokens are billed whether they are cached or not, and a 200K-token prompt costs the same as the output of hundreds of normal requests. Repeated prefixes are the case where the platform's cache-aware routing pays off — keep the stable part of the prompt (system instructions, documents) at the front and the volatile part at the end, and repeated calls against the same prefix cost materially less.

Models (45)

ModelsProvidersInput $/MOutput $/MIntelligence indexCoding index
claude-fable-5Anthropic$2.50$12.5049.676.5
claude-fable-5-1Anthropic$2.50$12.5053.481.6
claude-haiku-5-5Anthropic$0.025$0.12——
claude-opus-4-6Anthropic$1.25$6.2526.4—
claude-opus-4-7Anthropic$1.25$6.2540.773.6
claude-opus-4-8Anthropic$1.25$6.2541.874.3
claude-opus-5Anthropic$1.25$6.2550.878.0
claude-opus-5-5 frontierAnthropic$1.00$5.0057.6—
claude-sonnet-4-6Anthropic$0.75$3.7524.7—
claude-sonnet-5Anthropic$0.50$2.5038.271.5
claude-sonnet-5-5 frontierAnthropic$0.50$2.5056.0—
codex-auto-reviewOpenAI$0.10$0.60——
deepseek-flashDeepSeek$0.15$0.60——
deepseek-v4-flashDeepSeek$0.15$0.6034.369.1
deepseek-v4-flash-0731DeepSeek$0.15$0.6034.369.1
deepseek-v4-proDeepSeek$0.66$1.9836.068.8
deepseek-v4-pro-0813DeepSeek$0.66$1.9836.068.8
deepseek-v4.1-flashDeepSeek$0.15$0.6039.5—
doubao-seed-2.1-liteByteDance Doubao$0.12$0.42——
doubao-seed-2.1-proByteDance Doubao$0.92$4.62——
doubao-seed-2.1-turboByteDance Doubao$0.46$2.31——
doubao-seed-evolvingByteDance Doubao$0.46$2.31——
gemini-3.8-flashGoogle$0.75$3.7540.976.3
glm-5.3Zhipu AI$0.62$2.1544.874.8
glm-5.3-flashZhipu AI$0.06$0.2241.871.5
gpt-5.6-solOpenAI$1.00$5.0047.077.4
gpt-5.6-terraOpenAI$0.50$3.0042.176.7
gpt-6-astraOpenAI$2.50$12.5052.776.9
gpt-6-solOpenAI$0.50$2.5047.6—
gpt-6.1-solOpenAI$0.50$2.5051.8—
gpt-6.1-terraOpenAI$0.25$1.25——
gpt-image-2.6-sunburstOpenAI————
hy4Tencent Hunyuan$0.46$1.38——
kimi-k2.8-previewMoonshot AI$0.50$2.08——
kimi-k3Moonshot AI$1.54$7.6943.676.2
kimi-k3.1-proMoonshot AI$1.00$5.23——
kimi-k3.1-pro-highspeedMoonshot AI$2.00$10.46——
mimo-v2.6-flashXiaomi MiMo$0.08$0.1537.9—
MiniMax-M3MiniMax$0.32$1.2929.258.6
MiniMax-M3.1-FlashMiniMax$0.08$0.31——
muse-spark-1.2-contributorMeta$0.05$0.1039.672.2
muse-spark-1.3-contributor frontierMeta$0.05$0.1048.175.8
qwen3.8-flashAlibaba Qwen$0.06$0.2139.873.1
qwen3.8-maxAlibaba Qwen$0.92$2.7745.476.2
qwen4-max-previewAlibaba Qwen$0.92$2.77——

Prices are per 1M tokens in USD · ¥6.5 = $1

Capabilities