OpenAI: GPT-6.1 Terra contra Qwen: Qwen3.7 Max
Una comparativa lado a lado de OpenAI: GPT-6.1 Terra (3,50 US$ / 1M fragmentos (≈ 3,23 €)) y Qwen: Qwen3.7 Max (5,16 US$ / 1M fragmentos (≈ 4,77 €)) con precios actuales en USD y capacidades del catálogo de api14. Ambos funcionan a través de la misma API compatible con OpenAI.
Especificaciones
| OpenAI: GPT-6.1 Terra | Qwen: Qwen3.7 Max | |
|---|---|---|
| Proveedor | OpenAI | Qwen |
| Entrada | 3,50 US$ / 1M fragmentos (≈ 3,23 €) | 5,16 US$ / 1M fragmentos (≈ 4,77 €) |
| Salida | 17,50 US$ / 1M fragmentos (≈ 16,17 €) | 15,49 US$ / 1M fragmentos (≈ 14,31 €) |
| Lectura de caché | 0,18 US$ / 1M fragmentos (≈ 0,16 €) | 1,03 US$ / 1M fragmentos (≈ 0,95 €) |
| Escritura de caché | 4,38 US$ / 1M fragmentos (≈ 4,04 €) | 6,45 US$ / 1M fragmentos (≈ 5,96 €) |
| Búsqueda web | 35,00 US$ / 1K búsquedas (≈ 32,34 €) | - |
| Ventana de contexto | 1.050.000 | 1.000.000 |
| Salida máxima | 128.000 | 131.072 |
| Entrada | file, image, text | text |
| Salida | text | text |
| Llamadas a herramientas | ||
| Salida estructurada | ||
| Control del razonamiento | ||
| Añadido | 26 oct 2026 | 21 may 2026 |
Diferencias clave
- OpenAI: GPT-6.1 Terra es 32% más barato en tokens de entrada.
- Qwen: Qwen3.7 Max es 11% más barato en tokens de salida.
- Una solicitud con 1.000 tokens de entrada y 500 de salida cuesta 0,01 US$ con OpenAI: GPT-6.1 Terra y 0,01 US$ con Qwen: Qwen3.7 Max.
Cambia con una sola cadena
Ambos modelos usan el mismo endpoint y la misma estructura de solicitud. Cambia el valor de model de "openai/gpt-6.1-terra" a "qwen/qwen3.7-max": los prompts, el streaming y las herramientas siguen funcionando.
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api14.com/api/v1",
apiKey: process.env.API14_API_KEY,
});
const result = await client.chat.completions.create({
"model": "qwen/qwen3.7-max",
"messages": [
{
"role": "user",
"content": "Explain vector databases in two sentences."
}
]
});
console.log(result.choices[0].message.content);
from openai import OpenAI
import os
client = OpenAI(
base_url="https://api14.com/api/v1",
api_key=os.environ["API14_API_KEY"],
)
result = client.chat.completions.create(
model="qwen/qwen3.7-max",
messages=[
{
"role": "user",
"content": "Explain vector databases in two sentences."
}
],
)
print(result.choices[0].message.content)
curl https://api14.com/api/v1/chat/completions \
-H "Authorization: Bearer $API14_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "qwen/qwen3.7-max",
"messages": [
{
"role": "user",
"content": "Explain vector databases in two sentences."
}
]
}'
package main
import (
"bytes"
"fmt"
"io"
"net/http"
"os"
)
func main() {
body := []byte(`{
"model": "qwen/qwen3.7-max",
"messages": [
{
"role": "user",
"content": "Explain vector databases in two sentences."
}
]
}`)
req, _ := http.NewRequest("POST", "https://api14.com/api/v1/chat/completions", bytes.NewReader(body))
req.Header.Set("Authorization", "Bearer "+os.Getenv("API14_API_KEY"))
req.Header.Set("Content-Type", "application/json")
res, err := http.DefaultClient.Do(req)
if err != nil {
panic(err)
}
defer res.Body.Close()
out, _ := io.ReadAll(res.Body)
fmt.Println(string(out))
}
<?php
$ch = curl_init("https://api14.com/api/v1/chat/completions");
curl_setopt_array($ch, [
CURLOPT_POST => true,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
"Authorization: Bearer " . getenv("API14_API_KEY"),
"Content-Type: application/json",
],
CURLOPT_POSTFIELDS => json_encode([
"model" => "qwen/qwen3.7-max",
"messages" => [
[
"role" => "user",
"content" => "Explain vector databases in two sentences."
]
]
]),
]);
$response = json_decode(curl_exec($ch), true);
print_r($response);
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
public class Main {
public static void main(String[] args) throws Exception {
String body = """
{
"model": "qwen/qwen3.7-max",
"messages": [
{
"role": "user",
"content": "Explain vector databases in two sentences."
}
]
}
""";
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://api14.com/api/v1/chat/completions"))
.header("Authorization", "Bearer " + System.getenv("API14_API_KEY"))
.header("Content-Type", "application/json")
.POST(HttpRequest.BodyPublishers.ofString(body))
.build();
HttpResponse<String> response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
}
}
using OpenAI;
using OpenAI.Chat;
using System.ClientModel;
var client = new ChatClient(
model: "qwen/qwen3.7-max",
credential: new ApiKeyCredential(Environment.GetEnvironmentVariable("API14_API_KEY")!),
options: new OpenAIClientOptions { Endpoint = new Uri("https://api14.com/api/v1") });
ChatCompletion completion = client.CompleteChat("Explain vector databases in two sentences.");
Console.WriteLine(completion.Content[0].Text);
require "net/http"
require "json"
uri = URI("https://api14.com/api/v1/chat/completions")
req = Net::HTTP::Post.new(uri, {
"Authorization" => "Bearer #{ENV["API14_API_KEY"]}",
"Content-Type" => "application/json",
})
req.body = {
"model": "qwen/qwen3.7-max",
"messages": [
{
"role": "user",
"content": "Explain vector databases in two sentences."
}
]
}.to_json
res = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") { |h| h.request(req) }
puts JSON.parse(res.body)
// Cargo.toml: reqwest = { version = "0.12", features = ["json"] }, tokio = { version = "1", features = ["full"] }, serde_json = "1"
use serde_json::json;
#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
let key = std::env::var("API14_API_KEY")?;
let res = reqwest::Client::new()
.post("https://api14.com/api/v1/chat/completions")
.bearer_auth(key)
.json(&json!({
"model": "qwen/qwen3.7-max",
"messages": [
{
"role": "user",
"content": "Explain vector databases in two sentences."
}
]
}))
.send()
.await?
.text()
.await?;
println!("{res}");
Ok(())
}
Más comparativas
- Amazon Ergo contra MiniMax: MiniMax M4
- Amazon Ergo contra Qwen: Qwen4 35B A3B
- Amazon Ergo contra StepFun: Step 5
- Amazon Ergo contra Z.ai: GLM 5.4
- MiniMax: MiniMax M4 contra Qwen: Qwen4 35B A3B
- MiniMax: MiniMax M4 contra StepFun: Step 5
- MiniMax: MiniMax M4 contra Z.ai: GLM 5.4
- Qwen: Qwen4 35B A3B contra StepFun: Step 5