Class OrchestrationAiModel

java.lang.Object
com.sap.ai.sdk.orchestration.OrchestrationAiModel

public final class OrchestrationAiModel extends Object
Large language models available in Orchestration.

Please note that the template of models provided in this class might be outdated. To check the latest availability of models in Orchestration, please refer to SAP Availability of Generative AI Models and pay attention to the Available in Orchestration column.

  • Field Details

    • MISTRAL_MEDIUM_INSTRUCT

      public static final OrchestrationAiModel MISTRAL_MEDIUM_INSTRUCT
      MistralAI Mistral Medium Instruct model.
    • MISTRAL_SMALL

      public static final OrchestrationAiModel MISTRAL_SMALL
      MistralAI Mistral Small model.
    • MISTRAL_MEDIUM

      public static final OrchestrationAiModel MISTRAL_MEDIUM
      MistralAI Mistral Medium model.
    • LLAMA_CINDERELLA_DN

      public static final OrchestrationAiModel LLAMA_CINDERELLA_DN
      Meta Llama Cinderella DN model.
    • COHERE_COMMAND_A_REASONING

      public static final OrchestrationAiModel COHERE_COMMAND_A_REASONING
      Cohere Command a Reasoning model.
    • CLAUDE_4_OPUS

      public static final OrchestrationAiModel CLAUDE_4_OPUS
      Anthropic Claude 4 Opus model.
    • CLAUDE_4_5_OPUS

      public static final OrchestrationAiModel CLAUDE_4_5_OPUS
      Anthropic Claude 4.5 Opus model.
    • CLAUDE_4_5_SONNET

      public static final OrchestrationAiModel CLAUDE_4_5_SONNET
      Anthropic Claude 4.5 Sonnet model.
    • CLAUDE_4_5_HAIKU

      public static final OrchestrationAiModel CLAUDE_4_5_HAIKU
      Anthropic Claude 4.5 Haiku model.
    • CLAUDE_4_6_OPUS

      public static final OrchestrationAiModel CLAUDE_4_6_OPUS
      Anthropic Claude 4.6 Opus model.
    • CLAUDE_4_6_SONNET

      public static final OrchestrationAiModel CLAUDE_4_6_SONNET
      Anthropic Claude 4.6 Sonnet model.
    • CLAUDE_4_7_OPUS

      public static final OrchestrationAiModel CLAUDE_4_7_OPUS
      Anthropic Claude 4.7 Opus model.
    • CLAUDE_4_8_OPUS

      public static final OrchestrationAiModel CLAUDE_4_8_OPUS
      Anthropic Claude 4.8 Opus model.
    • NOVA_PRO

      public static final OrchestrationAiModel NOVA_PRO
      Amazon Nova Pro model.
    • NOVA_LITE

      public static final OrchestrationAiModel NOVA_LITE
      Amazon Nova Lite model.
    • NOVA_MICRO

      public static final OrchestrationAiModel NOVA_MICRO
      Amazon Nova Micro model.
    • NOVA_PREMIER

      public static final OrchestrationAiModel NOVA_PREMIER
      Amazon Nova Premier model.
    • GPT_41_MINI

      public static final OrchestrationAiModel GPT_41_MINI
      Azure OpenAI GPT-4.1-mini model.
    • GPT_41

      public static final OrchestrationAiModel GPT_41
      Azure OpenAI GPT-4.1 model.
    • GPT_41_NANO

      public static final OrchestrationAiModel GPT_41_NANO
      Azure OpenAI GPT-4.1-nano model.
    • GPT_4O

      public static final OrchestrationAiModel GPT_4O
      Azure OpenAI GPT-4o model.
    • OPENAI_O4_MINI

      public static final OrchestrationAiModel OPENAI_O4_MINI
      Azure OpenAI o4-mini model.
    • OPENAI_O3

      public static final OrchestrationAiModel OPENAI_O3
      Azure OpenAI o3 model.
    • GPT_5

      public static final OrchestrationAiModel GPT_5
      Azure OpenAI GPT-5 model.
    • GPT_5_MINI

      public static final OrchestrationAiModel GPT_5_MINI
      Azure OpenAI GPT-5-mini model.
    • GPT_5_NANO

      public static final OrchestrationAiModel GPT_5_NANO
      Azure OpenAI GPT-5-nano model.
    • GPT_51

      public static final OrchestrationAiModel GPT_51
      Azure OpenAI GPT-5.1 model.
    • GPT_52

      public static final OrchestrationAiModel GPT_52
      Azure OpenAI GPT-5.2 model.
    • GPT_53_CODEX

      public static final OrchestrationAiModel GPT_53_CODEX
      Azure OpenAI GPT-5.3-codex model.
    • GPT_54

      public static final OrchestrationAiModel GPT_54
      Azure OpenAI GPT-5.4 model.
    • GPT_54_NANO

      public static final OrchestrationAiModel GPT_54_NANO
      Azure OpenAI GPT-5.4-nano model.
    • GPT_55

      public static final OrchestrationAiModel GPT_55
      Azure OpenAI GPT-5.5 model.
    • GPT_56_SOL

      public static final OrchestrationAiModel GPT_56_SOL
      Azure OpenAI GPT-5.6-sol model.
    • GPT_56_LUNA

      public static final OrchestrationAiModel GPT_56_LUNA
      Azure OpenAI GPT-5.6-luna model.
    • GPT_56_TERRA

      public static final OrchestrationAiModel GPT_56_TERRA
      Azure OpenAI GPT-5.6-terra model.
    • GEMINI_2_5_FLASH

      public static final OrchestrationAiModel GEMINI_2_5_FLASH
      Google Cloud Platform Gemini 2.5 Flash model.
    • GEMINI_2_5_FLASH_LITE

      public static final OrchestrationAiModel GEMINI_2_5_FLASH_LITE
      Google Cloud Platform Gemini 2.5 Flash Lite model.
    • GEMINI_2_5_PRO

      public static final OrchestrationAiModel GEMINI_2_5_PRO
      Google Cloud Platform Gemini 2.5 Pro model.
    • GEMINI_3_1_FLASH_LITE

      public static final OrchestrationAiModel GEMINI_3_1_FLASH_LITE
      Google Cloud Platform Gemini 3.1 Flash Lite model.
    • GEMINI_3_5_FLASH

      public static final OrchestrationAiModel GEMINI_3_5_FLASH
      Google Cloud Platform Gemini 3.5 Flash model.
    • GEMINI_3_1_PRO_PREVIEW_EA

      public static final OrchestrationAiModel GEMINI_3_1_PRO_PREVIEW_EA
      Google Cloud Platform Gemini 3.1 Pro preview early access model.
    • GEMINI_3_5_FLASH_LITE

      public static final OrchestrationAiModel GEMINI_3_5_FLASH_LITE
      Google Cloud Platform Gemini 3.5 Flash Lite model.
    • GEMINI_3_6_FLASH

      public static final OrchestrationAiModel GEMINI_3_6_FLASH
      Google Cloud Platform Gemini 3.6 Flash model.
    • GEMINI_3_8_FLASH

      public static final OrchestrationAiModel GEMINI_3_8_FLASH
      Google Cloud Platform Gemini 3.8 Flash model.
    • SONAR

      public static final OrchestrationAiModel SONAR
      Perplexity AI Sonar model.
    • SONAR_PRO

      public static final OrchestrationAiModel SONAR_PRO
      Perplexity AI Sonar Pro model.
    • SONAR_DEEP_RESEARCH

      public static final OrchestrationAiModel SONAR_DEEP_RESEARCH
      Perplexity AI Sonar Deep Research model.
    • SAP_ABAP_1

      public static final OrchestrationAiModel SAP_ABAP_1
      SAP ABAP 1 model.
    • QWEN_3_MAX

      public static final OrchestrationAiModel QWEN_3_MAX
      Alibaba Qwen 3 max model.
    • QWEN_3_6_PLUS

      public static final OrchestrationAiModel QWEN_3_6_PLUS
      Alibaba Qwen 3.6 plus model.
    • QWEN_3_6_FLASH

      public static final OrchestrationAiModel QWEN_3_6_FLASH
      Alibaba Qwen 3.6 flash model.
    • QWEN_3_7_MAX

      public static final OrchestrationAiModel QWEN_3_7_MAX
      Alibaba Qwen 3.7 max model.
    • QWEN_3_7_PLUS

      public static final OrchestrationAiModel QWEN_3_7_PLUS
      Alibaba Qwen 3.7 plus model.
  • Constructor Details

    • OrchestrationAiModel

      public OrchestrationAiModel(String name, Map<String,Object> params, String version)
      Creates a new OrchestrationAiModel instance.
      Parameters:
      name - The name of the model.
      params - Optional parameters on this model.
      
       Map.of(
           "max_completion_tokens", 50,
           "temperature", 0.1,
           "frequency_penalty", 0,
           "presence_penalty", 0)
       

      SAP AI Core: Orchestration - Harmonized API

      version - The version of the model, defaults to "latest".
  • Method Details

    • withParam

      @Nonnull public OrchestrationAiModel withParam(@Nonnull String key, @Nullable Object value)
      Additional parameter on this model.
      Parameters:
      key - the parameter key.
      value - the parameter value. Can be null if not applicable.
      Returns:
      a new model with the additional parameter.

      SAP AI Core: Orchestration - Harmonized API

    • withParam

      @Nonnull public <ValueT> OrchestrationAiModel withParam(@Nonnull OrchestrationAiModel.Parameter<ValueT> param, @Nullable ValueT value)
      Additional parameter on this model.
      Type Parameters:
      ValueT - the parameter value type.
      Parameters:
      param - the parameter key.
      value - the parameter value. Can be null if not applicable.
      Returns:
      a new model with the additional parameter.

      SAP AI Core: Orchestration - Harmonized API

    • withReasoningEffort

      @Nonnull public OrchestrationAiModel withReasoningEffort(@Nonnull ReasoningEffort effort)
      Set the reasoning_effort parameter on this model.
      Parameters:
      effort - the reasoning effort level.
      Returns:
      a new model with the reasoning_effort parameter set.
      See Also:
    • getName

      public String getName()
      The name of the model.
    • getParams

      public Map<String,Object> getParams()
      Optional parameters on this model.
      
       Map.of(
           "max_completion_tokens", 50,
           "temperature", 0.1,
           "frequency_penalty", 0,
           "presence_penalty", 0)
       

      SAP AI Core: Orchestration - Harmonized API

    • getVersion

      public String getVersion()
      The version of the model, defaults to "latest".
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • withName

      public OrchestrationAiModel withName(String name)
      The name of the model.
      Returns:
      a clone of this object, except with this updated property (returns this if an identical value is passed).
    • withParams

      public OrchestrationAiModel withParams(Map<String,Object> params)
      Optional parameters on this model.
      
       Map.of(
           "max_completion_tokens", 50,
           "temperature", 0.1,
           "frequency_penalty", 0,
           "presence_penalty", 0)
       

      SAP AI Core: Orchestration - Harmonized API

      Returns:
      a clone of this object, except with this updated property (returns this if an identical value is passed).
    • withVersion

      public OrchestrationAiModel withVersion(String version)
      The version of the model, defaults to "latest".
      Returns:
      a clone of this object, except with this updated property (returns this if an identical value is passed).