Function Calling 调用

Function Calling

POST https://api.apizt.com/v1/chat/completions 在线调试 →

本页保留 gpt-6-sol 的 Chat 函数调用示例,使用 reasoning_effort: "none"。gpt-6.1-sol 的工具调用要求 Responses,请查看 Responses 函数调用;不要只替换型号。

▼ Authorization

在 Header 添加参数 Authorization,其值为 Bearer 之后拼接 Token

示例: Authorization: Bearer ********************

请求参数

Header 参数
Content-Type string
必需
示例: application/json
Authorization string
必需
示例: Bearer $OPENAI_API_KEY
Body 参数application/json
streamboolean可选
示例:false
messagesarray必需
结构见完整 JSON 示例。
toolsarray可选
结构见完整 JSON 示例。
modelstring必需
示例:gpt-6-sol
max_completion_tokensnumber可选
示例:1000
reasoning_effortstring可选
示例:none

请求示例代码

curl --fail-with-body --request POST 'https://api.apizt.com/v1/chat/completions' \
  --header "Authorization: Bearer ${tokenba_API_KEY}" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "stream": false,
  "messages": [
    {
      "role": "user",
      "content": "北京今天天气怎么样"
    }
  ],
  "tools": [
    {
      "type": "function",
      "function": {
        "name": "get_current_weather",
        "description": "Get the current weather in a given location",
        "parameters": {
          "type": "object",
          "properties": {
            "location": {
              "type": "string",
              "description": "The city and state, e.g. San Francisco, CA"
            },
            "unit": {
              "type": "string",
              "enum": [
                "celsius",
                "fahrenheit"
              ]
            }
          },
          "required": [
            "location"
          ]
        }
      }
    }
  ],
  "model": "gpt-6-sol",
  "max_completion_tokens": 1000,
  "reasoning_effort": "none"
}'
async function main() {
  const headers = { Authorization: "Bearer " + process.env.tokenba_API_KEY };
  headers["Content-Type"] = "application/json";
  const body = JSON.stringify({
  "stream": false,
  "messages": [
    {
      "role": "user",
      "content": "北京今天天气怎么样"
    }
  ],
  "tools": [
    {
      "type": "function",
      "function": {
        "name": "get_current_weather",
        "description": "Get the current weather in a given location",
        "parameters": {
          "type": "object",
          "properties": {
            "location": {
              "type": "string",
              "description": "The city and state, e.g. San Francisco, CA"
            },
            "unit": {
              "type": "string",
              "enum": [
                "celsius",
                "fahrenheit"
              ]
            }
          },
          "required": [
            "location"
          ]
        }
      }
    }
  ],
  "model": "gpt-6-sol",
  "max_completion_tokens": 1000,
  "reasoning_effort": "none"
});
  const response = await fetch("https://api.apizt.com/v1/chat/completions", { method: "POST", headers, body });
  const result = await response.text();
  if (!response.ok) throw new Error("HTTP " + response.status + ": " + result);
  console.log(result);
}
main().catch(console.error);
import okhttp3.*;
import java.io.File;

class Example {
  public static void main(String[] args) throws Exception {
    OkHttpClient client = new OkHttpClient();
    RequestBody body = RequestBody.create(MediaType.parse("application/json"), "{\n  \"stream\": false,\n  \"messages\": [\n    {\n      \"role\": \"user\",\n      \"content\": \"北京今天天气怎么样\"\n    }\n  ],\n  \"tools\": [\n    {\n      \"type\": \"function\",\n      \"function\": {\n        \"name\": \"get_current_weather\",\n        \"description\": \"Get the current weather in a given location\",\n        \"parameters\": {\n          \"type\": \"object\",\n          \"properties\": {\n            \"location\": {\n              \"type\": \"string\",\n              \"description\": \"The city and state, e.g. San Francisco, CA\"\n            },\n            \"unit\": {\n              \"type\": \"string\",\n              \"enum\": [\n                \"celsius\",\n                \"fahrenheit\"\n              ]\n            }\n          },\n          \"required\": [\n            \"location\"\n          ]\n        }\n      }\n    }\n  ],\n  \"model\": \"gpt-6-sol\",\n  \"max_completion_tokens\": 1000,\n  \"reasoning_effort\": \"none\"\n}");
    Request.Builder request = new Request.Builder().url("https://api.apizt.com/v1/chat/completions").header("Authorization", "Bearer " + System.getenv("tokenba_API_KEY"));
    request.method("POST", body);
    try (Response response = client.newCall(request.build()).execute()) {
      if (!response.isSuccessful()) throw new Exception("HTTP " + response.code());
      System.out.println(response.body().string());
    }
  }
}
import Foundation

var request = URLRequest(url: URL(string: "https://api.apizt.com/v1/chat/completions")!)
request.httpMethod = "POST"
request.setValue("Bearer " + ProcessInfo.processInfo.environment["tokenba_API_KEY"]!, forHTTPHeaderField: "Authorization")
request.setValue("application/json", forHTTPHeaderField: "Content-Type")
request.httpBody = "{\n  \"stream\": false,\n  \"messages\": [\n    {\n      \"role\": \"user\",\n      \"content\": \"北京今天天气怎么样\"\n    }\n  ],\n  \"tools\": [\n    {\n      \"type\": \"function\",\n      \"function\": {\n        \"name\": \"get_current_weather\",\n        \"description\": \"Get the current weather in a given location\",\n        \"parameters\": {\n          \"type\": \"object\",\n          \"properties\": {\n            \"location\": {\n              \"type\": \"string\",\n              \"description\": \"The city and state, e.g. San Francisco, CA\"\n            },\n            \"unit\": {\n              \"type\": \"string\",\n              \"enum\": [\n                \"celsius\",\n                \"fahrenheit\"\n              ]\n            }\n          },\n          \"required\": [\n            \"location\"\n          ]\n        }\n      }\n    }\n  ],\n  \"model\": \"gpt-6-sol\",\n  \"max_completion_tokens\": 1000,\n  \"reasoning_effort\": \"none\"\n}".data(using: .utf8)
let (data, response) = try await URLSession.shared.data(for: request)
print((response as? HTTPURLResponse)?.statusCode ?? 0)
print(String(data: data, encoding: .utf8) ?? "")
package main

import (
  "bytes"
  "fmt"
  "io"
  "net/http"
  "os"
)

func main() {
  req, err := http.NewRequest("POST", "https://api.apizt.com/v1/chat/completions", bytes.NewBufferString("{\n  \"stream\": false,\n  \"messages\": [\n    {\n      \"role\": \"user\",\n      \"content\": \"北京今天天气怎么样\"\n    }\n  ],\n  \"tools\": [\n    {\n      \"type\": \"function\",\n      \"function\": {\n        \"name\": \"get_current_weather\",\n        \"description\": \"Get the current weather in a given location\",\n        \"parameters\": {\n          \"type\": \"object\",\n          \"properties\": {\n            \"location\": {\n              \"type\": \"string\",\n              \"description\": \"The city and state, e.g. San Francisco, CA\"\n            },\n            \"unit\": {\n              \"type\": \"string\",\n              \"enum\": [\n                \"celsius\",\n                \"fahrenheit\"\n              ]\n            }\n          },\n          \"required\": [\n            \"location\"\n          ]\n        }\n      }\n    }\n  ],\n  \"model\": \"gpt-6-sol\",\n  \"max_completion_tokens\": 1000,\n  \"reasoning_effort\": \"none\"\n}"))
  _ = bytes.MinRead
  if err != nil { panic(err) }
  req.Header.Set("Authorization", "Bearer " + os.Getenv("tokenba_API_KEY"))
  req.Header.Set("Content-Type", "application/json")
  resp, err := http.DefaultClient.Do(req)
  if err != nil { panic(err) }; defer resp.Body.Close()
  data, err := io.ReadAll(resp.Body)
  if err != nil { panic(err) }
  fmt.Println(resp.Status, string(data))
}
<?php
$headers = ["Authorization: Bearer " . getenv("tokenba_API_KEY")];
$headers[] = "Content-Type: application/json";
$body = <<<'JSON'
{
  "stream": false,
  "messages": [
    {
      "role": "user",
      "content": "北京今天天气怎么样"
    }
  ],
  "tools": [
    {
      "type": "function",
      "function": {
        "name": "get_current_weather",
        "description": "Get the current weather in a given location",
        "parameters": {
          "type": "object",
          "properties": {
            "location": {
              "type": "string",
              "description": "The city and state, e.g. San Francisco, CA"
            },
            "unit": {
              "type": "string",
              "enum": [
                "celsius",
                "fahrenheit"
              ]
            }
          },
          "required": [
            "location"
          ]
        }
      }
    }
  ],
  "model": "gpt-6-sol",
  "max_completion_tokens": 1000,
  "reasoning_effort": "none"
}
JSON;
$curl = curl_init('https://api.apizt.com/v1/chat/completions');
curl_setopt_array($curl, [CURLOPT_CUSTOMREQUEST => 'POST', CURLOPT_HTTPHEADER => $headers, CURLOPT_RETURNTRANSFER => true, CURLOPT_POSTFIELDS => $body]);
$result = curl_exec($curl);
if ($result === false) throw new Exception(curl_error($curl));
echo $result;
curl_close($curl);
import os
import requests

headers = {"Authorization": "Bearer " + os.environ["tokenba_API_KEY"]}
payload = {'stream': False,
 'messages': [{'role': 'user', 'content': '北京今天天气怎么样'}],
 'tools': [{'type': 'function',
            'function': {'name': 'get_current_weather',
                         'description': 'Get the current weather in a given location',
                         'parameters': {'type': 'object',
                                        'properties': {'location': {'type': 'string',
                                                                    'description': 'The '
                                                                                   'city '
                                                                                   'and '
                                                                                   'state, '
                                                                                   'e.g. '
                                                                                   'San '
                                                                                   'Francisco, '
                                                                                   'CA'},
                                                       'unit': {'type': 'string',
                                                                'enum': ['celsius',
                                                                         'fahrenheit']}},
                                        'required': ['location']}}}],
 'model': 'gpt-6-sol',
 'max_completion_tokens': 1000,
 'reasoning_effort': 'none'}
response = requests.request('POST', 'https://api.apizt.com/v1/chat/completions', headers=headers, json=payload, timeout=120)
response.raise_for_status()
print(response.text)
POST /v1/chat/completions HTTP/1.1
Host: api.apizt.com
Authorization: Bearer YOUR_tokenba_API_KEY
Content-Type: application/json

{
  "stream": false,
  "messages": [
    {
      "role": "user",
      "content": "北京今天天气怎么样"
    }
  ],
  "tools": [
    {
      "type": "function",
      "function": {
        "name": "get_current_weather",
        "description": "Get the current weather in a given location",
        "parameters": {
          "type": "object",
          "properties": {
            "location": {
              "type": "string",
              "description": "The city and state, e.g. San Francisco, CA"
            },
            "unit": {
              "type": "string",
              "enum": [
                "celsius",
                "fahrenheit"
              ]
            }
          },
          "required": [
            "location"
          ]
        }
      }
    }
  ],
  "model": "gpt-6-sol",
  "max_completion_tokens": 1000,
  "reasoning_effort": "none"
}
#include <curl/curl.h>
#include <stdlib.h>
#include <stdio.h>

int main(void) {
  curl_global_init(CURL_GLOBAL_DEFAULT);
  CURL *curl = curl_easy_init();
  if (!curl) return 1;
  char auth[4096];
  snprintf(auth, sizeof(auth), "Authorization: Bearer %s", getenv("tokenba_API_KEY"));
  struct curl_slist *headers = curl_slist_append(NULL, auth);
  headers = curl_slist_append(headers, "Content-Type: application/json");
  curl_easy_setopt(curl, CURLOPT_POSTFIELDS, "{\n  \"stream\": false,\n  \"messages\": [\n    {\n      \"role\": \"user\",\n      \"content\": \"北京今天天气怎么样\"\n    }\n  ],\n  \"tools\": [\n    {\n      \"type\": \"function\",\n      \"function\": {\n        \"name\": \"get_current_weather\",\n        \"description\": \"Get the current weather in a given location\",\n        \"parameters\": {\n          \"type\": \"object\",\n          \"properties\": {\n            \"location\": {\n              \"type\": \"string\",\n              \"description\": \"The city and state, e.g. San Francisco, CA\"\n            },\n            \"unit\": {\n              \"type\": \"string\",\n              \"enum\": [\n                \"celsius\",\n                \"fahrenheit\"\n              ]\n            }\n          },\n          \"required\": [\n            \"location\"\n          ]\n        }\n      }\n    }\n  ],\n  \"model\": \"gpt-6-sol\",\n  \"max_completion_tokens\": 1000,\n  \"reasoning_effort\": \"none\"\n}");
  curl_easy_setopt(curl, CURLOPT_URL, "https://api.apizt.com/v1/chat/completions");
  curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "POST");
  curl_easy_setopt(curl, CURLOPT_HTTPHEADER, headers);
  CURLcode result = curl_easy_perform(curl);
  curl_slist_free_all(headers); curl_easy_cleanup(curl); curl_global_cleanup();
  return result == CURLE_OK ? 0 : 1;
}
using System;
using System.IO;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text;

using var client = new HttpClient();
using var request = new HttpRequestMessage(new HttpMethod("POST"), "https://api.apizt.com/v1/chat/completions");
request.Headers.Authorization = new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("tokenba_API_KEY"));
request.Content = new StringContent("{\n  \"stream\": false,\n  \"messages\": [\n    {\n      \"role\": \"user\",\n      \"content\": \"北京今天天气怎么样\"\n    }\n  ],\n  \"tools\": [\n    {\n      \"type\": \"function\",\n      \"function\": {\n        \"name\": \"get_current_weather\",\n        \"description\": \"Get the current weather in a given location\",\n        \"parameters\": {\n          \"type\": \"object\",\n          \"properties\": {\n            \"location\": {\n              \"type\": \"string\",\n              \"description\": \"The city and state, e.g. San Francisco, CA\"\n            },\n            \"unit\": {\n              \"type\": \"string\",\n              \"enum\": [\n                \"celsius\",\n                \"fahrenheit\"\n              ]\n            }\n          },\n          \"required\": [\n            \"location\"\n          ]\n        }\n      }\n    }\n  ],\n  \"model\": \"gpt-6-sol\",\n  \"max_completion_tokens\": 1000,\n  \"reasoning_effort\": \"none\"\n}", Encoding.UTF8, "application/json");
using var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
#import <Foundation/Foundation.h>

int main(void) {
@autoreleasepool {
dispatch_semaphore_t done = dispatch_semaphore_create(0);
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"https://api.apizt.com/v1/chat/completions"]];
request.HTTPMethod = @"POST";
NSDictionary *env = [[NSProcessInfo processInfo] environment];
[request setValue:[@"Bearer " stringByAppendingString:env[@"tokenba_API_KEY"]] forHTTPHeaderField:@"Authorization"];
[request setValue:@"application/json" forHTTPHeaderField:@"Content-Type"];
request.HTTPBody = [@"{\n  \"stream\": false,\n  \"messages\": [\n    {\n      \"role\": \"user\",\n      \"content\": \"北京今天天气怎么样\"\n    }\n  ],\n  \"tools\": [\n    {\n      \"type\": \"function\",\n      \"function\": {\n        \"name\": \"get_current_weather\",\n        \"description\": \"Get the current weather in a given location\",\n        \"parameters\": {\n          \"type\": \"object\",\n          \"properties\": {\n            \"location\": {\n              \"type\": \"string\",\n              \"description\": \"The city and state, e.g. San Francisco, CA\"\n            },\n            \"unit\": {\n              \"type\": \"string\",\n              \"enum\": [\n                \"celsius\",\n                \"fahrenheit\"\n              ]\n            }\n          },\n          \"required\": [\n            \"location\"\n          ]\n        }\n      }\n    }\n  ],\n  \"model\": \"gpt-6-sol\",\n  \"max_completion_tokens\": 1000,\n  \"reasoning_effort\": \"none\"\n}" dataUsingEncoding:NSUTF8StringEncoding];
[[[NSURLSession sharedSession] dataTaskWithRequest:request completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
  if (error) { NSLog(@"%@", error); dispatch_semaphore_signal(done); return; }
  NSLog(@"%@", [[NSString alloc] initWithData:data encoding:NSUTF8StringEncoding]);
  dispatch_semaphore_signal(done);
}] resume];
dispatch_semaphore_wait(done, DISPATCH_TIME_FOREVER);
}
return 0;
}
require "net/http"
require "json"

uri = URI("https://api.apizt.com/v1/chat/completions")
request = Net::HTTPGenericRequest.new("POST", true, true, uri.request_uri)
request["Authorization"] = "Bearer " + ENV.fetch("tokenba_API_KEY")
request["Content-Type"] = "application/json"
request.body = "{\n  \"stream\": false,\n  \"messages\": [\n    {\n      \"role\": \"user\",\n      \"content\": \"北京今天天气怎么样\"\n    }\n  ],\n  \"tools\": [\n    {\n      \"type\": \"function\",\n      \"function\": {\n        \"name\": \"get_current_weather\",\n        \"description\": \"Get the current weather in a given location\",\n        \"parameters\": {\n          \"type\": \"object\",\n          \"properties\": {\n            \"location\": {\n              \"type\": \"string\",\n              \"description\": \"The city and state, e.g. San Francisco, CA\"\n            },\n            \"unit\": {\n              \"type\": \"string\",\n              \"enum\": [\n                \"celsius\",\n                \"fahrenheit\"\n              ]\n            }\n          },\n          \"required\": [\n            \"location\"\n          ]\n        }\n      }\n    }\n  ],\n  \"model\": \"gpt-6-sol\",\n  \"max_completion_tokens\": 1000,\n  \"reasoning_effort\": \"none\"\n}"
puts Net::HTTP.start(uri.host, uri.port, use_ssl: true) { |http| http.request(request).body }
open Lwt.Infix

let () =
  let headers = Cohttp.Header.init_with "Authorization" ("Bearer " ^ Sys.getenv "tokenba_API_KEY") in
  let data = {|{
  "stream": false,
  "messages": [
    {
      "role": "user",
      "content": "北京今天天气怎么样"
    }
  ],
  "tools": [
    {
      "type": "function",
      "function": {
        "name": "get_current_weather",
        "description": "Get the current weather in a given location",
        "parameters": {
          "type": "object",
          "properties": {
            "location": {
              "type": "string",
              "description": "The city and state, e.g. San Francisco, CA"
            },
            "unit": {
              "type": "string",
              "enum": [
                "celsius",
                "fahrenheit"
              ]
            }
          },
          "required": [
            "location"
          ]
        }
      }
    }
  ],
  "model": "gpt-6-sol",
  "max_completion_tokens": 1000,
  "reasoning_effort": "none"
}|} in
  let headers = Cohttp.Header.add headers "Content-Type" "application/json" in
  Lwt_main.run (
    Cohttp_lwt_unix.Client.call ~headers ~body:(Cohttp_lwt.Body.of_string data) `POST (Uri.of_string "https://api.apizt.com/v1/chat/completions") >>= fun (_, body) ->
    Cohttp_lwt.Body.to_string body >|= print_endline
  )
import "dart:io";
import "package:http/http.dart" as http;

Future<void> main() async {
  final headers = {"Authorization": "Bearer ${Platform.environment['tokenba_API_KEY']}"};
  final request = http.Request("POST", Uri.parse("https://api.apizt.com/v1/chat/completions"));
  request.headers.addAll(headers);
  request.headers["Content-Type"] = "application/json";
  request.body = "{\n  \"stream\": false,\n  \"messages\": [\n    {\n      \"role\": \"user\",\n      \"content\": \"北京今天天气怎么样\"\n    }\n  ],\n  \"tools\": [\n    {\n      \"type\": \"function\",\n      \"function\": {\n        \"name\": \"get_current_weather\",\n        \"description\": \"Get the current weather in a given location\",\n        \"parameters\": {\n          \"type\": \"object\",\n          \"properties\": {\n            \"location\": {\n              \"type\": \"string\",\n              \"description\": \"The city and state, e.g. San Francisco, CA\"\n            },\n            \"unit\": {\n              \"type\": \"string\",\n              \"enum\": [\n                \"celsius\",\n                \"fahrenheit\"\n              ]\n            }\n          },\n          \"required\": [\n            \"location\"\n          ]\n        }\n      }\n    }\n  ],\n  \"model\": \"gpt-6-sol\",\n  \"max_completion_tokens\": 1000,\n  \"reasoning_effort\": \"none\"\n}";
  final response = await request.send();
  print(response.statusCode);
  print(await response.stream.bytesToString());
}
library(httr)

headers <- c(Authorization = paste("Bearer", Sys.getenv("tokenba_API_KEY")))
headers["Content-Type"] <- "application/json"
body <- "{\n  \"stream\": false,\n  \"messages\": [\n    {\n      \"role\": \"user\",\n      \"content\": \"北京今天天气怎么样\"\n    }\n  ],\n  \"tools\": [\n    {\n      \"type\": \"function\",\n      \"function\": {\n        \"name\": \"get_current_weather\",\n        \"description\": \"Get the current weather in a given location\",\n        \"parameters\": {\n          \"type\": \"object\",\n          \"properties\": {\n            \"location\": {\n              \"type\": \"string\",\n              \"description\": \"The city and state, e.g. San Francisco, CA\"\n            },\n            \"unit\": {\n              \"type\": \"string\",\n              \"enum\": [\n                \"celsius\",\n                \"fahrenheit\"\n              ]\n            }\n          },\n          \"required\": [\n            \"location\"\n          ]\n        }\n      }\n    }\n  ],\n  \"model\": \"gpt-6-sol\",\n  \"max_completion_tokens\": 1000,\n  \"reasoning_effort\": \"none\"\n}"
response <- VERB("POST", "https://api.apizt.com/v1/chat/completions", add_headers(.headers = headers), body = body)
stop_for_status(response)
cat(content(response, "text", encoding = "UTF-8"))

返回响应

响应参数 🟢 200 OK · application/json
id string
必需
object string
必需
choices array [object]
必需
usage object
必需
示例
{
    "id": "chatcmpl-123",
    "object": "chat.completion",
    "created": 1677652288,
    "model": "gpt-6-sol",
    "choices": [
        {
            "index": 0,
            "message": {
                "role": "assistant",
                "content": null,
                "tool_calls": [
                    {
                        "id": "call_abc123",
                        "type": "function",
                        "function": {
                            "name": "get_current_weather",
                            "arguments": "{\"location\": \"北京\"}"
                        }
                    }
                ]
            },
            "finish_reason": "tool_calls"
        }
    ],
    "usage": {
        "prompt_tokens": 82,
        "completion_tokens": 18,
        "total_tokens": 100
    }
}

示例先设置 tokenba_API_KEY。JavaScript 使用 Node.js 20+,Python 安装 requests。流式示例的 Python 与 JavaScript 会逐段输出事件数据。代码中的 ID、文件名与令牌须替换为自己的值。

当前示例使用 gpt-6-sol。Chat 使用 max_completion_tokens,工具调用时 reasoning_effort=none;Responses 的推理与工具参数保持 Responses 格式。官方参数说明。

当前模型与版本

依据 apizt 价格页,同步于 。以下型号按目录声明的协议与本页用途筛选;不代表所有参数和功能通用。切换前请核对型号说明、令牌分组与参数差异。Gemini 原生接口需同时替换 URL 中的模型 ID。

模型 ID能力标签支持分组
gpt-6-sol对话,工具,识图,思考
分组(10)

Azure-Gpt-2、Azure-Gpt-3、Azure-Gpt-4、Azure-Gpt-5、Azure-Gpt-6、Codex-Gpt-1、Codex-Gpt-2、Codex-Gpt-3、Openai-Gpt-1、Openai-Gpt-2

gpt-6-luna对话,工具,识图,思考
分组(10)

Azure-Gpt-2、Azure-Gpt-3、Azure-Gpt-4、Azure-Gpt-5、Azure-Gpt-6、Codex-Gpt-1、Codex-Gpt-2、Codex-Gpt-3、Openai-Gpt-1、Openai-Gpt-2

claude-sonnet-5-5对话,识图,工具
分组(6)

AWS-Bedrock-2、AWS-Claude-2、AWS-Claude-3、Claude-Code-1、Claude-Code-2、Kiro-Claude-1

claude-opus-5-5对话,工具,识图
分组(6)

AWS-Bedrock-2、AWS-Claude-2、AWS-Claude-3、Claude-Code-1、Claude-Code-2、Kiro-Claude-1

claude-sonnet-5对话,识图,工具
分组(8)

AWS-Bedrock-2、AWS-Claude-2、AWS-Claude-3、Anthropic-Claude-1、Claude-Code-1、Claude-Code-2、Kiro-Claude-1、Vertex-Claude-1

claude-fable-5-1对话,识图,工具
分组(5)

AWS-Claude-2、AWS-Claude-3、Anthropic-Claude-1、Claude-Code-1、Claude-Code-2

gemini-3.8-flash对话,识图,工具
分组(9)

Aistudio-Gemini-1、Aistudio-Gemini-2、Aistudio-Gemini-3、Aistudio-Gemini-4、Anti-Gemini-1、Cli-Gemini-1、Vertex-Gemini-1、Vertex-Gemini-2、Vertex-Gemini-3

gemini-3.1-pro-preview对话,思考,多模态
分组(9)

Aistudio-Gemini-1、Aistudio-Gemini-2、Aistudio-Gemini-3、Aistudio-Gemini-4、Anti-Gemini-1、Cli-Gemini-1、Vertex-Gemini-1、Vertex-Gemini-2、Vertex-Gemini-3

共列入 218 个候选型号。查看完整模型、版本与接口目录。