NEAR AI Cloud

[PROVIDER]
id: nearai
npm: @ai-sdk/openai-compatible
env: NEARAI_API_KEY
api: https://cloud-api.near.ai/v1

Models

Claude Haiku 4.5 (latest)

anthropic/claude-haiku-4-5
in $1.00/M
out $5.00/M
cache read $0.10/M
cache write $1.25/M
ctx: 200,000 max out: 64,000 in: text, image, pdf out: text
reasoning tools vision structured temp open weights

Claude Opus 4.6

anthropic/claude-opus-4-6
in $5.00/M
out $25.00/M
cache read $0.50/M
cache write $6.25/M
ctx: 200,000 max out: 128,000 in: text, image, pdf out: text
reasoning tools vision structured temp open weights

Claude Opus 4.7

anthropic/claude-opus-4-7
in $5.00/M
out $25.00/M
cache read $0.50/M
cache write $6.25/M
ctx: 1,000,000 max out: 128,000 in: text, image, pdf out: text
reasoning tools vision structured temp open weights

Claude Sonnet 4.5 (latest)

anthropic/claude-sonnet-4-5
in $3.00/M
out $15.50/M
cache read $0.30/M
cache write $3.75/M
ctx: 200,000 max out: 64,000 in: text, image, pdf out: text
reasoning tools vision structured temp open weights

Claude Sonnet 4.6

anthropic/claude-sonnet-4-6
in $3.00/M
out $15.00/M
cache read $0.30/M
cache write $3.75/M
ctx: 1,000,000 max out: 64,000 in: text, image, pdf out: text
reasoning tools vision structured temp open weights

FLUX.2 Klein 4B

black-forest-labs/FLUX.2-klein-4B
in $1.00/M
out $1.00/M
ctx: 128,000 max out: 128,000 in: text, image out: image
reasoning tools vision structured temp open weights

Gemini 2.5 Flash

google/gemini-2.5-flash
in $0.30/M
out $2.50/M
cache read $0.03/M
ctx: 1,048,576 max out: 65,536 in: text, image, audio, video, pdf out: text
reasoning tools vision structured temp open weights

Gemini 2.5 Flash-Lite

google/gemini-2.5-flash-lite
in $0.10/M
out $0.40/M
cache read $0.01/M
ctx: 1,048,576 max out: 65,536 in: text, image, audio, video, pdf out: text
reasoning tools vision structured temp open weights

Gemini 2.5 Pro

google/gemini-2.5-pro
in $1.25/M
out $10.00/M
cache read $0.13/M
ctx: 1,048,576 max out: 65,536 in: text, image, audio, video, pdf out: text
reasoning tools vision structured temp open weights

Gemini 3 Pro Preview

google/gemini-3-pro
in $1.25/M
out $15.00/M
cache read $0.00/M
ctx: 1,048,576 max out: 65,536 in: text, image, video, audio, pdf out: text
reasoning tools vision structured temp open weights

Gemini 3.1 Flash Lite

google/gemini-3.1-flash-lite
in $0.25/M
out $1.50/M
cache read $0.03/M
ctx: 1,048,576 max out: 65,536 in: text, image, video, audio, pdf out: text
reasoning tools vision structured temp open weights

Gemini 3.5 Flash

google/gemini-3.5-flash
in $1.50/M
out $9.00/M
cache read $0.15/M
ctx: 1,048,576 max out: 65,536 in: text, image, video, audio, pdf out: text
reasoning tools vision structured temp open weights

Gemma 4 31B IT

google/gemma-4-31B-it
in $0.13/M
out $0.40/M
cache read $0.03/M
ctx: 262,144 max out: 32,768 in: text out: text
reasoning tools vision structured temp open weights

GLM-5.1 FP8

zai-org/GLM-5.1-FP8
in $0.85/M
out $3.30/M
ctx: 202,752 max out: 131,072 in: text out: text
reasoning tools vision structured temp open weights

GPT-4.1

openai/gpt-4.1
in $2.00/M
out $8.00/M
cache read $0.50/M
ctx: 1,047,576 max out: 32,768 in: text, image, pdf out: text
reasoning tools vision structured temp open weights

GPT-4.1 mini

openai/gpt-4.1-mini
in $0.40/M
out $1.60/M
cache read $0.10/M
ctx: 1,047,576 max out: 32,768 in: text, image, pdf out: text
reasoning tools vision structured temp open weights

GPT-4.1 nano

openai/gpt-4.1-nano
in $0.10/M
out $0.40/M
cache read $0.03/M
ctx: 1,047,576 max out: 32,768 in: text, image out: text
reasoning tools vision structured temp open weights

GPT-5

openai/gpt-5
in $1.25/M
out $10.00/M
cache read $0.13/M
ctx: 400,000 max out: 128,000 in: text, image out: text
reasoning tools vision structured temp open weights

GPT-5 Mini

openai/gpt-5-mini
in $0.25/M
out $2.00/M
cache read $0.03/M
ctx: 400,000 max out: 128,000 in: text, image out: text
reasoning tools vision structured temp open weights

GPT-5 Nano

openai/gpt-5-nano
in $0.05/M
out $0.40/M
cache read $0.01/M
ctx: 400,000 max out: 128,000 in: text, image out: text
reasoning tools vision structured temp open weights

GPT-5.1

openai/gpt-5.1
in $1.25/M
out $10.00/M
cache read $0.13/M
ctx: 400,000 max out: 128,000 in: text, image out: text
reasoning tools vision structured temp open weights

GPT-5.2

openai/gpt-5.2
in $1.80/M
out $15.50/M
cache read $0.18/M
ctx: 400,000 max out: 128,000 in: text, image out: text
reasoning tools vision structured temp open weights

GPT-5.4

openai/gpt-5.4
in $2.50/M
out $15.00/M
cache read $0.25/M
ctx: 1,050,000 max out: 128,000 in: text, image, pdf out: text
reasoning tools vision structured temp open weights

GPT-5.4 mini

openai/gpt-5.4-mini
in $0.75/M
out $4.50/M
cache read $0.07/M
ctx: 400,000 max out: 128,000 in: text, image out: text
reasoning tools vision structured temp open weights

GPT-5.4 nano

openai/gpt-5.4-nano
in $0.20/M
out $1.25/M
cache read $0.02/M
ctx: 400,000 max out: 128,000 in: text, image out: text
reasoning tools vision structured temp open weights

GPT-5.5

openai/gpt-5.5
in $5.00/M
out $30.00/M
cache read $0.50/M
ctx: 1,050,000 max out: 128,000 in: text, image, pdf out: text
reasoning tools vision structured temp open weights

GPT-OSS 120B

openai/gpt-oss-120b
in $0.15/M
out $0.55/M
ctx: 131,000 max out: 32,768 in: text out: text
reasoning tools vision structured temp open weights

o3

openai/o3
in $2.00/M
out $8.00/M
cache read $0.50/M
ctx: 200,000 max out: 100,000 in: text, image, pdf out: text
reasoning tools vision structured temp open weights

o3-mini

openai/o3-mini
in $1.10/M
out $4.40/M
cache read $0.55/M
ctx: 200,000 max out: 100,000 in: text out: text
reasoning tools vision structured temp open weights

o4-mini

openai/o4-mini
in $1.10/M
out $4.40/M
cache read $0.28/M
ctx: 200,000 max out: 100,000 in: text, image out: text
reasoning tools vision structured temp open weights

Qwen 3.6 35B A3B FP8

Qwen/Qwen3.6-35B-A3B-FP8
in $0.17/M
out $1.10/M
cache read $0.06/M
ctx: 262,144 max out: 32,768 in: text out: text
reasoning tools vision structured temp open weights

Qwen3 30B-A3B Instruct 2507

Qwen/Qwen3-30B-A3B-Instruct-2507
in $0.15/M
out $0.55/M
ctx: 262,144 max out: 32,768 in: text out: text
reasoning tools vision structured temp open weights

Qwen3 Embedding 0.6B

Qwen/Qwen3-Embedding-0.6B
in $0.01/M
out $0.00/M
ctx: 40,960 max out: 1,024 in: text out: text
reasoning tools vision structured temp open weights

Qwen3 Reranker 0.6B

Qwen/Qwen3-Reranker-0.6B
in $0.01/M
out $0.01/M
ctx: 40,960 max out: 1,024 in: text out: text
reasoning tools vision structured temp open weights

Qwen3-VL 30B-A3B Instruct

Qwen/Qwen3-VL-30B-A3B-Instruct
in $0.15/M
out $0.55/M
ctx: 256,000 max out: 32,768 in: text, image out: text
reasoning tools vision structured temp open weights

Qwen3.5 122B-A10B

Qwen/Qwen3.5-122B-A10B
in $0.40/M
out $3.20/M
ctx: 131,072 max out: 32,768 in: text out: text
reasoning tools vision structured temp open weights

Whisper Large v3

openai/whisper-large-v3
in $0.01/M
out $0.00/M
ctx: 448 max out: 448 in: audio out: text
reasoning tools vision structured temp open weights