1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
//! Doubleword's model identifiers.
//!
//! [`from_env`] and [`new`] build a client on the [`DOUBLEWORD`](crate::providers::openai::wire::DOUBLEWORD) dialect for
//! realtime chat and embeddings. Async polling and batch
//! submission are not modeled by these operations.
//!
//! ```no_run
//! use rig_core::providers::doubleword;
//!
//! # fn run() -> Result<(), Box<dyn std::error::Error>> {
//! let doubleword = doubleword::from_env()?;
//! let chat = doubleword.chat(doubleword::QWEN3_5_9B);
//! let embedding = doubleword.embedding(doubleword::QWEN3_EMBEDDING_8B, None);
//! # let _ = (chat, embedding);
//! # Ok(())
//! # }
//! ```
pub const QWEN3_5_4B: &str = "Qwen/Qwen3.5-4B";
pub const QWEN3_5_9B: &str = "Qwen/Qwen3.5-9B";
pub const QWEN3_5_397B_A17B: &str = "Qwen/Qwen3.5-397B-A17B-FP8";
pub const QWEN3_6_35B_A3B: &str = "Qwen/Qwen3.6-35B-A3B-FP8";
pub const GPT_OSS_20B: &str = "openai/gpt-oss-20b";
pub const GPT_OSS_120B: &str = "openai/gpt-oss-120b";
pub const DEEPSEEK_V4_PRO: &str = "deepseek-ai/DeepSeek-V4-Pro";
pub const DEEPSEEK_V4_FLASH: &str = "deepseek-ai/DeepSeek-V4-Flash";
pub const KIMI_K2_6: &str = "moonshotai/Kimi-K2.6";
pub const GLM_5_2: &str = "zai-org/GLM-5.2-FP8";
pub const QWEN3_VL_30B: &str = "Qwen/Qwen3-VL-30B-A3B-Instruct-FP8";
pub const QWEN3_VL_235B: &str = "Qwen/Qwen3-VL-235B-A22B-Instruct-FP8";
/// Identifier for the Qwen3 Embedding 8B model. Supported output dimensions are
/// defined by [`crate::providers::openai::wire::DOUBLEWORD`].
pub const QWEN3_EMBEDDING_8B: &str = "Qwen/Qwen3-Embedding-8B";
/// The provider key: the dialect name, a reply's `Origin::provider` and
/// the typed provider-options key.
pub const PROVIDER_NAME: &str = "doubleword";
crateopenai_vendor!;