Skip to main content
DELETE
/
api
/
ai
/
models
/
{id}
Delete custom model
curl --request DELETE \
  --url https://hub.oxen.ai/api/ai/models/{id}
{
  "created": 123,
  "id": "<string>",
  "object": "model",
  "owned_by": "<string>",
  "capabilities": {
    "input": [
      "<string>"
    ],
    "output": [
      "<string>"
    ]
  },
  "deployments": [
    {
      "status": "active"
    }
  ],
  "description": "<string>",
  "developer": {
    "logo": "<string>",
    "name": "<string>"
  },
  "display_name": "<string>",
  "endpoint": "/chat/completions",
  "fine_tuning": {
    "actions": [
      "<string>"
    ],
    "cost_per_second": 123
  },
  "image_url": "<string>",
  "model_type": "base",
  "pricing": {
    "cost_per_image": 123,
    "cost_per_second": 123,
    "cost_per_second_high_res": 123,
    "cost_per_second_with_audio": 123,
    "input_cost_per_token": 123,
    "method": "token",
    "output_cost_per_token": 123
  },
  "released_at": "<string>",
  "request_schema": {},
  "source_model": "<string>",
  "summary": "<string>"
}

Path Parameters

id
string
required

Response

Deleted model

Represents a model available for inference or fine-tuning. Compatible with the OpenAI model object.

created
integer
required

Unix timestamp when the model was registered

id
string
required

Model identifier used in API calls

object
enum<string>
required
Available options:
model
owned_by
string
required

"oxen" for base models, owner namespace for custom models

capabilities
object
deployments
object[]

Active deployments. Empty for base models.

description
string | null
developer
object
display_name
string
endpoint
enum<string>

API endpoint to call this model

Available options:
/chat/completions,
/images/generate,
/videos/generate
fine_tuning
object

Fine-tuning info, or null if model is not fine-tuneable

image_url
string | null
model_type
enum<string>
Available options:
base,
custom
pricing
object
released_at
string | null
request_schema
object

JSON Schema describing model-specific parameters

source_model
string | null

Base model this was fine-tuned from

summary
string | null