OPTES Code 1
OPTES製A coding agent that reads the whole repository, writes, runs the tests and reviews what it changed before handing over.
コンテキストウィンドウ1M1,000,000トークン
入力$1.001,380 IQD100万トークンあたり
出力$5.006,900 IQD100万トークンあたり
入力の種類テキスト, 画像, ファイル→ テキスト
プロバイダー1
概要
| モデルID | optes-code-1 |
|---|---|
| シリーズ | OPTES |
| コンテキストウィンドウ | 1,000,000トークン |
| 最大出力 | 128,000トークン |
| 入力の種類 | テキスト, 画像, ファイル |
| 出力の種類 | テキスト |
| プロバイダー | 1 |
OPTESでの価格
OPTESが自社モデルに公表している価格(米ドルとイラク・ディナール)。
| プロバイダー | 入力 | 出力 | 備考 |
|---|---|---|---|
| OPTES | $1.00 · 1,380 IQD | $5.00 · 6,900 IQD |
プロバイダー
OPTESが自社モデルに公表している価格(米ドルとイラク・ディナール)。
| プロバイダー | 入力 | 出力 | 備考 |
|---|---|---|---|
| OPTES | $1.00 · 1,380 IQD | $5.00 · 6,900 IQD |
OPTES APIで呼び出す
OPTES APIはOpenAI形式です。SDKのベースURLをOPTESに向け、このモデルIDを使ってください。
curl https://api.optes3.com/v1/chat/completions \ -H "Authorization: Bearer $OPTES_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "optes-code-1", "messages": [{"role": "user", "content": "バグダッドのカフェの名前を3つ提案して。"}] }'import osfrom openai import OpenAIclient = OpenAI(base_url="https://api.optes3.com/v1", api_key=os.environ["OPTES_API_KEY"])resp = client.chat.completions.create( model="optes-code-1", messages=[{"role": "user", "content": "バグダッドのカフェの名前を3つ提案して。"}],)print(resp.choices[0].message.content)import OpenAI from "openai";const client = new OpenAI({ baseURL: "https://api.optes3.com/v1", apiKey: process.env.OPTES_API_KEY });const resp = await client.chat.completions.create({ model: "optes-code-1", messages: [{ role: "user", content: "バグダッドのカフェの名前を3つ提案して。" }],});console.log(resp.choices[0].message.content);OPTES経由で使う
一度チャージして、使った分だけ支払い。登録とキーはローンチ時に公開。