Groq · Capability

GroqCloud API — Models

GroqCloud API — Models. 3 operations. Lead operation: List all available [models](https://console.groq.com/docs/models).. Self-contained Naftiko capability covering one Groq business surface.

Run with Naftiko GroqModels

What You Can Do

GET
Listmodels — List all available [models](https://console.groq.com/docs/models).
/v1/openai/v1/models
GET
Retrievemodel — Get detailed information about a [model](https://console.groq.com/docs/models).
/v1/openai/v1/models/{model}
DELETE
Deletemodel — Delete model
/v1/openai/v1/models/{model}

MCP Tools

list-all-available-models-https-console-groq-com

List all available [models](https://console.groq.com/docs/models).

read-only idempotent
get-detailed-information-about-model-https

Get detailed information about a [model](https://console.groq.com/docs/models).

read-only idempotent
delete-model

Delete model

idempotent

Capability Spec

groq-models.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: GroqCloud API — Models
  description: 'GroqCloud API — Models. 3 operations. Lead operation: List all available [models](https://console.groq.com/docs/models)..
    Self-contained Naftiko capability covering one Groq business surface.'
  tags:
  - Groq
  - Models
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    GROQ_API_KEY: GROQ_API_KEY
capability:
  consumes:
  - type: http
    namespace: groq-models
    baseUri: https://api.groq.com
    description: GroqCloud API — Models business capability. Self-contained, no shared references.
    resources:
    - name: openai-v1-models
      path: /openai/v1/models
      operations:
      - name: listmodels
        method: GET
        description: List all available [models](https://console.groq.com/docs/models).
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: openai-v1-models-model
      path: /openai/v1/models/{model}
      operations:
      - name: retrievemodel
        method: GET
        description: Get detailed information about a [model](https://console.groq.com/docs/models).
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: model
          in: path
          type: string
          description: The model to get
          required: true
      - name: deletemodel
        method: DELETE
        description: Delete model
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: model
          in: path
          type: string
          description: The model to delete
          required: true
    authentication:
      type: bearer
      token: '{{env.GROQ_API_KEY}}'
  exposes:
  - type: rest
    namespace: groq-models-rest
    port: 8080
    description: REST adapter for GroqCloud API — Models. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/openai/v1/models
      name: openai-v1-models
      description: REST surface for openai-v1-models.
      operations:
      - method: GET
        name: listmodels
        description: List all available [models](https://console.groq.com/docs/models).
        call: groq-models.listmodels
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/openai/v1/models/{model}
      name: openai-v1-models-model
      description: REST surface for openai-v1-models-model.
      operations:
      - method: GET
        name: retrievemodel
        description: Get detailed information about a [model](https://console.groq.com/docs/models).
        call: groq-models.retrievemodel
        with:
          model: rest.model
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deletemodel
        description: Delete model
        call: groq-models.deletemodel
        with:
          model: rest.model
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: groq-models-mcp
    port: 9090
    transport: http
    description: MCP adapter for GroqCloud API — Models. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: list-all-available-models-https-console-groq-com
      description: List all available [models](https://console.groq.com/docs/models).
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: groq-models.listmodels
      outputParameters:
      - type: object
        mapping: $.
    - name: get-detailed-information-about-model-https
      description: Get detailed information about a [model](https://console.groq.com/docs/models).
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: groq-models.retrievemodel
      with:
        model: tools.model
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-model
      description: Delete model
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: groq-models.deletemodel
      with:
        model: tools.model
      outputParameters:
      - type: object
        mapping: $.