Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions providers/qihang-ai/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 22 additions & 0 deletions providers/qihang-ai/models/claude-haiku-4-5-20251001.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name = "Claude Haiku 4.5"
family = "claude-haiku"
release_date = "2025-10-01"
last_updated = "2025-10-01"
attachment = true
reasoning = true
temperature = true
tool_call = true
knowledge = "2025-07-31"
open_weights = false

[cost]
input = 0.14
output = 0.71

[limit]
context = 200_000
output = 64_000

[modalities]
input = ["text", "image", "pdf"]
output = ["text"]
22 changes: 22 additions & 0 deletions providers/qihang-ai/models/claude-opus-4-5-20251101.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name = "Claude Opus 4.5"
family = "claude-opus"
release_date = "2025-11-01"
last_updated = "2025-11-01"
attachment = true
reasoning = true
temperature = true
tool_call = true
knowledge = "2025-03"
open_weights = false

[cost]
input = 0.71
output = 3.57

[limit]
context = 200_000
output = 32_000

[modalities]
input = ["text", "image"]
output = ["text"]
22 changes: 22 additions & 0 deletions providers/qihang-ai/models/claude-sonnet-4-5-20250929.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name = "Claude Sonnet 4.5"
family = "claude-sonnet"
release_date = "2025-09-29"
last_updated = "2025-09-29"
attachment = true
reasoning = true
temperature = true
tool_call = true
knowledge = "2025-07-31"
open_weights = false

[cost]
input = 0.43
output = 2.14

[limit]
context = 200_000
output = 64_000

[modalities]
input = ["text", "image", "pdf"]
output = ["text"]
27 changes: 27 additions & 0 deletions providers/qihang-ai/models/gemini-2.5-flash.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name = "Gemini 2.5 Flash"
family = "gemini-flash"
release_date = "2025-12-17"
last_updated = "2025-12-17"
attachment = true
reasoning = true
temperature = true
tool_call = true
structured_output = true
knowledge = "2025-01"
open_weights = false

[cost]
input = 0.09
output = 0.71

[cost.context_over_200k]
input = 0.09
output = 0.71

[limit]
context = 1048576
output = 65536

[modalities]
input = ["text", "image", "video", "audio", "pdf"]
output = ["text"]
27 changes: 27 additions & 0 deletions providers/qihang-ai/models/gemini-3-flash-preview.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name = "Gemini 3 Flash Preview"
family = "gemini-flash"
release_date = "2025-12-17"
last_updated = "2025-12-17"
attachment = true
reasoning = true
temperature = true
tool_call = true
structured_output = true
knowledge = "2025-01"
open_weights = false

[cost]
input = 0.07
output = 0.43

[cost.context_over_200k]
input = 0.07
output = 0.43

[limit]
context = 1048576
output = 65536

[modalities]
input = ["text", "image", "video", "audio", "pdf"]
output = ["text"]
22 changes: 22 additions & 0 deletions providers/qihang-ai/models/gemini-3-pro-preview.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name = "Gemini 3 Pro Preview"
family = "gemini-pro"
release_date = "2025-11-19"
last_updated = "2025-11-19"
attachment = true
reasoning = true
temperature = true
tool_call = true
knowledge = "2025-11"
open_weights = false

[cost]
input = 0.57
output = 3.43

[limit]
context = 1_000_000
output = 65_000

[modalities]
input = ["text", "image", "audio", "video"]
output = ["text"]
22 changes: 22 additions & 0 deletions providers/qihang-ai/models/gpt-5-mini.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name = "GPT-5-Mini"
family = "gpt-mini"
release_date = "2025-09-15"
last_updated = "2025-09-15"
attachment = true
reasoning = true
temperature = true
knowledge = "2024-09-30"
tool_call = true
open_weights = false

[cost]
input = 0.04
output = 0.29

[limit]
context = 200_000
output = 64_000

[modalities]
input = ["text", "image"]
output = ["text"]
24 changes: 24 additions & 0 deletions providers/qihang-ai/models/gpt-5.2-codex.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name = "GPT-5.2 Codex"
family = "gpt-codex"
release_date = "2025-12-11"
last_updated = "2025-12-11"
attachment = true
reasoning = true
temperature = false
knowledge = "2025-08-31"
tool_call = true
structured_output = true
open_weights = false

[cost]
input = 0.14
output = 1.14

[limit]
context = 400_000
input = 272_000
output = 128_000

[modalities]
input = ["text", "image"]
output = ["text"]
24 changes: 24 additions & 0 deletions providers/qihang-ai/models/gpt-5.2.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name = "GPT-5.2"
family = "gpt"
release_date = "2025-12-11"
last_updated = "2025-12-11"
attachment = true
reasoning = true
temperature = true
knowledge = "2025-08-31"
tool_call = true
structured_output = true
open_weights = false

[cost]
input = 0.25
output = 2.00

[limit]
context = 400_000
input = 272_000
output = 128_000

[modalities]
input = ["text", "image"]
output = ["text"]
5 changes: 5 additions & 0 deletions providers/qihang-ai/provider.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
name = "QiHang"
npm = "@ai-sdk/openai-compatible"
api = "https://api.qhaigc.net/v1"
env = ["QIHANG_API_KEY"]
doc = "https://www.qhaigc.net/docs"